<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <!--
        =================================================
        * 页面名称: 展示页模板
        * 文件路径: index.html
        * 作者: 孤山寺北
        * 邮箱: 3150675236@qq.com
        * 网站: https://www.gsav.cn
        * 创建日期: 2025-7-3
        * 最后更新: 2025-7-3
        * 版本: v1.0.0
        * 版权声明: Copyright (c) 2025 GSAV.CN . 保留所有权利。
        * 许可证: MIT License
        * 描述: 展示页模板
        =================================================
    -->
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>状态页面导航</title>
    <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap">
    <style>
        :root {
            --primary: #3b82f6;
            --primary-light: #93c5fd;
            --error: #ef4444;
            --warning: #f59e0b;
            --success: #10b981;
            --gray: #6b7280;
            --text: #1f2937;
            --text-light: #6b7280;
            --bg: #ffffff;
            --bg-secondary: #f9fafb;
            --border: #e5e7eb;
            --radius: 8px;
            --space: 24px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', 'Noto Sans SC', -apple-system, sans-serif;
            background-color: var(--bg);
            color: var(--text);
            line-height: 1.5;
            min-height: 100vh;
            padding: var(--space);
        }

        .container {
            max-width: 800px;
            margin: 0 auto;
        }

        header {
            text-align: center;
            margin-bottom: var(--space);
        }

        h1 {
            font-size: 2rem;
            font-weight: 600;
            margin-bottom: 12px;
        }

        .description {
            color: var(--text-light);
            margin-bottom: var(--space);
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: var(--space);
        }

        .card {
            background-color: var(--bg);
            border-radius: var(--radius);
            padding: var(--space);
            border: 1px solid var(--border);
            transition: all 0.2s ease;
            cursor: pointer;
        }

        .card:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        }

        .card-error {
            border-top: 4px solid var(--error);
        }

        .card-warning {
            border-top: 4px solid var(--warning);
        }

        .card-success {
            border-top: 4px solid var(--success);
        }

        .card-info {
            border-top: 4px solid var(--primary);
        }

        .card-neutral {
            border-top: 4px solid var(--gray);
        }

        .card h2 {
            font-size: 1.25rem;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .card p {
            color: var(--text-light);
            font-size: 0.875rem;
            margin-bottom: 16px;
        }

        .card .btn {
            display: inline-block;
            padding: 8px 16px;
            background-color: var(--bg-secondary);
            color: var(--primary);
            border-radius: var(--radius);
            font-size: 0.875rem;
            text-decoration: none;
            transition: all 0.2s ease;
        }

        .card .btn:hover {
            background-color: var(--primary);
            color: white;
        }

        footer {
            margin-top: var(--space);
            text-align: center;
            color: var(--text-light);
            font-size: 0.875rem;
        }

        @media (max-width: 640px) {
            :root {
                --space: 16px;
            }
            
            .grid {
                grid-template-columns: 1fr;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <header>
            <h1>状态页面导航</h1>
            <p class="description">点击下方卡片查看不同的状态页面演示</p>
        </header>

        <div class="grid">
            <!-- 退出登录页面 -->
            <div class="card card-success" onclick="window.location.href='logout.html'">
                <h2>
                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                        <path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"></path>
                        <polyline points="16 17 21 12 16 7"></polyline>
                        <line x1="21" y1="12" x2="9" y2="12"></line>
                    </svg>
                    退出登录
                </h2>
                <p>用户成功退出登录后显示的确认页面</p>
                <a class="btn">查看演示</a>
            </div>

            <!-- 页面错误 -->
            <div class="card card-error" onclick="window.location.href='error.html'">
                <h2>
                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                        <circle cx="12" cy="12" r="10"></circle>
                        <line x1="12" y1="8" x2="12" y2="12"></line>
                        <line x1="12" y1="16" x2="12.01" y2="16"></line>
                    </svg>
                    页面错误
                </h2>
                <p>当页面出现意外错误时显示的通用错误页面</p>
                <a class="btn">查看演示</a>
            </div>

            <!-- 404页面 -->
            <div class="card card-error" onclick="window.location.href='404.html'">
                <h2>
                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                        <circle cx="12" cy="12" r="10"></circle>
                        <line x1="12" y1="8" x2="12" y2="12"></line>
                        <line x1="12" y1="16" x2="12.01" y2="16"></line>
                    </svg>
                    404 页面未找到
                </h2>
                <p>当用户访问不存在的页面时显示的页面</p>
                <a class="btn">查看演示</a>
            </div>

            <!-- 403页面 -->
            <div class="card card-warning" onclick="window.location.href='403.html'">
                <h2>
                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                        <rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect>
                        <path d="M7 11V7a5 5 0 0 1 10 0v4"></path>
                    </svg>
                    403 禁止访问
                </h2>
                <p>当用户没有权限访问特定内容时显示的页面</p>
                <a class="btn">查看演示</a>
            </div>

            <!-- 500页面 -->
            <div class="card card-error" onclick="window.location.href='500.html'">
                <h2>
                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                        <path d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"></path>
                        <polyline points="13 2 13 9 20 9"></polyline>
                        <line x1="12" y1="13" x2="12" y2="17"></line>
                        <line x1="12" y1="17" x2="12.01" y2="17"></line>
                    </svg>
                    500 服务器错误
                </h2>
                <p>当服务器遇到意外错误时显示的页面</p>
                <a class="btn">查看演示</a>
            </div>

            <!-- 维护页面 -->
            <div class="card card-neutral" onclick="window.location.href='maintenance.html'">
                <h2>
                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                        <path d="M22 12h-4l-3 9L9 3l-3 9H2"></path>
                    </svg>
                    维护模式
                </h2>
                <p>当网站处于维护状态时显示的页面</p>
                <a class="btn">查看演示</a>
            </div>

            <!-- 空白状态 -->
            <div class="card card-info" onclick="window.location.href='empty-state.html'">
                <h2>
                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                        <path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path>
                        <polyline points="14 2 14 8 20 8"></polyline>
                        <line x1="16" y1="13" x2="8" y2="13"></line>
                        <line x1="16" y1="17" x2="8" y2="17"></line>
                        <polyline points="10 9 9 9 8 9"></polyline>
                    </svg>
                    空白状态
                </h2>
                <p>当没有内容可显示时的空白状态页面</p>
                <a class="btn">查看演示</a>
            </div>

            <!-- 无搜索结果 -->
            <div class="card card-info" onclick="window.location.href='no-results.html'">
                <h2>
                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                        <circle cx="11" cy="11" r="8"></circle>
                        <line x1="21" y1="21" x2="16.65" y2="16.65"></line>
                        <line x1="11" y1="8" x2="11" y2="11"></line>
                        <line x1="11" y1="14" x2="11.01" y2="14"></line>
                    </svg>
                    无搜索结果
                </h2>
                <p>当搜索没有返回结果时显示的页面</p>
                <a class="btn">查看演示</a>
            </div>

            <!-- 加载状态 -->
            <div class="card card-info" onclick="window.location.href='loading.html'">
                <h2>
                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                        <line x1="12" y1="2" x2="12" y2="6"></line>
                        <line x1="12" y1="18" x2="12" y2="22"></line>
                        <line x1="4.93" y1="4.93" x2="7.76" y2="7.76"></line>
                        <line x1="16.24" y1="16.24" x2="19.07" y2="19.07"></line>
                        <line x1="2" y1="12" x2="6" y2="12"></line>
                        <line x1="18" y1="12" x2="22" y2="12"></line>
                        <line x1="4.93" y1="19.07" x2="7.76" y2="16.24"></line>
                        <line x1="16.24" y1="7.76" x2="19.07" y2="4.93"></line>
                    </svg>
                    加载状态
                </h2>
                <p>内容加载过程中显示的加载状态页面</p>
                <a class="btn">查看演示</a>
            </div>

            <!-- 成功状态 -->
            <div class="card card-success" onclick="window.location.href='success.html'">
                <h2>
                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                        <path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path>
                        <polyline points="22 4 12 14.01 9 11.01"></polyline>
                    </svg>
                    成功状态
                </h2>
                <p>操作成功完成后显示的确认页面</p>
                <a class="btn">查看演示</a>
            </div>
        </div>

        <footer>
            <p>&copy; <span id="year"></span> 孤山寺北</p>
        </footer>
    </div>
    <script>
        // 自动更新版权年份
        document.getElementById('year').textContent = new Date().getFullYear();
    </script>
</body>
</html>